package cn.iocoder.yudao.demo.mybatis.controller.admin;

import cn.iocoder.yudao.demo.mybatis.service.RoleService;
import cn.iocoder.yudao.demo.mybatis.entity.Role;
import cn.iocoder.yudao.boot.web.controller.MybatisController;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Primary
@RequiredArgsConstructor
@RestController
@RequestMapping("/role")
public class RolerController extends MybatisController<RoleService, Role> {
}
